﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LinqToBing.Bing.Wrapper.Enums;

namespace LinqToBing.Bing.Wrapper.Interfaces
{
    /// <summary>
    /// Base interface for search requests and results.
    /// </summary>
    public interface ISearch : IUrlInvoker
    {
        /// <summary>
        /// Bing API Application Id.
        /// </summary>
        /// <seealso cref="http://www.bing.com/developers/"/>
        string AppId { get; set; }

        /// <summary>
        /// This GUID can uniquely identify the search and the results. 
        /// </summary>
        /// <remarks>
        ///  It it not provided from Bing engine.
        ///  </remarks>
        Guid Guid { get; }

        SearchProtocol SearchProtocol { get; set; }
    }
}
